/*********************************************************************
    1、global
*/
body {
    font-family: 'Microsoft Yahei';
}

div.app-aside-folded ul.nav li a i.icon {
    font-size: 20px;
}

.text-red{
    color: red;
}

/* table */
tr.active>td ,
.dd-handle.active {
    font-weight: bold;
    border-color: #23b7e5 !important;
    background-color: #23b7e5 !important;
    border-radius: 4px;
}
th {
    vertical-align: middle !important;
}

td a {
    margin-right: 10px;
}

.control-label {
    padding-top: 5px;
}

@media (min-width: 768px) {
    .form-inline .control-label {
        min-width: 100px;
        text-align: right;
    }
}

label.required::after {
    content: '*';
    color:red
}
.scroll {
    overflow: auto;
}
.scroll>table th,
.scroll>table td {
    white-space: nowrap;
    empty-cells:show;
    text-wrap: none;
}

span.divider{
    display: inline-block;
    margin: auto 10px;
}
span.divider::after{
    content: '|'
}
/*********************************************************************
    2、modal
*/

/* response modal*/

.response-modal .modal-dialog {
    width: 60%;
}
@media (max-width: 1366px) {
   .response-modal .modal-dialog {
        width: 75%;
    }
}


/*  alert modal */
.alert-modal > .modal-wrapper {
    display: table;
    width: 100%;
    height:100%
}
/*.alert-modal > .modal-wrapper >.modal-dialog {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}*/
.alert-modal > .modal-wrapper >.modal-dialog>.modal-content {
    width: 300px;
    margin: auto;
    background-color: #FFF;
    border: 1px solid #1682af;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    word-break: break-all;
    word-wrap: break-word;
    box-shadow: 0px 0px 15px #5bbfea;
    text-align: left;
}
.alert-modal > .modal-wrapper >.modal-dialog>.modal-content .modal-header {
    background-color: #DDD;
    padding: 8px;
    border-bottom: 1px solid #CCC;

}
.alert-modal > .modal-wrapper >.modal-dialog>.modal-content .modal-title {
    font-weight: bold;
}
.alert-modal > .modal-wrapper >.modal-dialog>.modal-content .modal-footer {
    padding: 0 5px;
    text-align: left;
}
    .alert-modal > .modal-wrapper > .modal-dialog > .modal-content .modal-footer .btn-ok {
        float: right;
        padding: 3px 8px;
        background: #188ec0;
        color: #FFF;
        border: 1px solid #0062bb;
        border-radius: 2px;
        margin-right: 20px;
        line-height: normal;
    }


/* loading */
/*  loading */
.loading-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    background: #000000;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}
.loading-modal .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    width: 100px;
    height: 100px;
    text-align: center;
}

.loading-modal .loading .spinner {
    width: 90px;
    height: 90px;
  margin: auto 0;
  position: relative;
  text-align: center;
  -webkit-animation: rotate 2.0s infinite linear;
  animation: rotate 2.0s infinite linear;
}

.loading-modal .loading .spinner .dot1,.loading-modal .loading .spinner  .dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #67CF22;
  border-radius: 100%;
  -webkit-animation: bounce 2.0s infinite ease-in-out;
  animation: bounce 2.0s infinite ease-in-out;
}
 
.loading-modal .loading .spinner .dot2 {
  top: auto;
  bottom: 0px;
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}
 
@-webkit-keyframes rotate { 100% { -webkit-transform: rotate(360deg) }}
@keyframes rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}
 
@-webkit-keyframes bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}
 
@keyframes bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
/*********************************************************************
    3、stat
*/

.stat{
    width: 100px;
    border: 2px solid gray;  
    margin: 0 auto;  
}
.stat >h3{
    height: 40px;
}

.stat>p{
    border-top: 1px solid green;
    margin: 5px auto;
    padding-top:3px;
}

.ellipsis{
     text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.box-blue{
    box-shadow: 0 0 15px #0CC;
    margin: 10px;
    padding: 0;
}

.box-red{
    box-shadow: 0 0 15px red;
    margin: 10px;
    padding: 0;
}

.box-item{
    position: relative;
}

.box-item .btn-circle{
    position: absolute;
    top: 5px;
    right: 20px;    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding-bottom: 0;
    padding-top: 0;
    padding-left: 9px;
}


/*********************************
    4. 预定
*/


.clndr {
    margin: auto 10px;
    padding: 10px;
    border: 1px solid grey;
    border-radius: 10px;
}

.month {
    float: none !important;
    width: 100% !important;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.clndr-controls {
    position: relative;
}

.clndr-control-button {
    float: none;
    position: absolute;
    top: 10px;
}

    .clndr-control-button.previous {
        left: 0;
    }

    .clndr-control-button.next {
        right: 0;
    }

.clndr-previous-button,
.clndr-next-button {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    display: inline-block;
}

.clndr-previous-button {
    background-image: url('') /*/Assets/previous.png*/;
}

.clndr-next-button {
    float: right;
    background-image: url('') /*/Assets/next.png*/;
}

.clndr .help {
    line-height: 20px;
    text-align: center;
}

    .clndr .help span {
        vertical-align: middle;
        margin-right: 5px;
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
    }

    .clndr .help .all {
        background: darkorchid;
    }

    .clndr .help .none {
        margin-left: 15px;
        background: gray;
    }

.clndr hr {
    border-width: 2px;
    margin-top: 20px;
}
table.clndr-table{
    width:100%;
}
table.clndr-table td {
    border: none !important;
    text-align: center !important;
    vertical-align: middle !important;
}

tr.header-days {
    background: white !important;
}

td.header-day {
    color: black !important;
}

table.clndr-table tr {
    height: 50px !important;
}

.day-contents {
    color: white;
    font-weight: bold;
    text-align: center !important;
    height: 30px;
    width: 30px;
    background: darkorchid;
    border-radius: 50%;
    margin: auto;
    padding-top: 5px;
}

.all .day-contents {
    background: gray;
}

.am .day-contents {
    background: linear-gradient(-90deg,darkorchid 50%,gray 50%);
}

.pm .day-contents {
    background: linear-gradient(90deg,darkorchid 50%,gray 50%);
}

.selected-pm .day-contents {
    background: linear-gradient(90deg,darkorchid 50%,green 50%);
}
.selected-pm.am .day-contents {
    background: linear-gradient(90deg,gray 50%,green 50%);
}

.selected-am .day-contents {
    background: linear-gradient(-90deg,darkorchid 50%,green 50%);
}

.selected-am.pm .day-contents {
    background: linear-gradient(-90deg,gray 50%,green 50%);
}

.selected-all .day-contents {
    background: green;
}

.event {
    background: transparent !important;
}

.last-month, .next-month {
    background: transparent !important;
}

    .last-month .day-contents, .next-month .day-contents {
        opacity: 0.5;
    }

.fix-panel {
    z-index: 100;
    background: #ddd;
    padding: 15px;
    border-radius: 15px;
    width: 500px;
}

img.w-m-100 {
    max-width: 100%
}